package cc.kzc.adminauth.ds1.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Comment;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import lombok.Data;

@Entity
@Table(name = "t_role")
@DynamicUpdate(true)
@DynamicInsert(true)
@Data
public class RoleEO implements Serializable {
	private static final long serialVersionUID = 6093652581455871305L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "f_id")
	@Comment("角色id")
	private Long id;
	
	@Column(name = "f_role")
	@Comment("角色标识")
	private String role;
	
	@Column(name = "f_role_name")
	@Comment("角色标识")
	private String roleName;
	
	@Column(name = "f_ctime")
	@Comment("创建时间")
	private String ctime;

	@Column(name = "f_mtime")
	@Comment("修改时间")
	private String mtime;

}
